﻿package net.sealuitk 
{
	/**
	 * ...
	 * @author mkn
	 */
	public class UIConst
	{
		public static const ALIGN_TOP:String = "top";
		public static const ALIGN_CENTER:String = "center";
		public static const ALIGN_BOTTOM:String = "bottom";
		public static const ALIGN_LEFT:String = "left";
		public static const ALIGN_MIDDLE:String = "center";
		public static const ALIGN_RIGHT:String = "right";
		public static const ALIGN_EVEN:String = "even";
		public static const ALIGN_MAGIC:String = "magic";
		
		public static const GRAPHICS_FIXED:String = "fixed";
		public static const GRAPHICS_CENTER:String = "center";
		public static const GRAPHICS_STRETCH:String = "stretch";
		public static const GRAPHICS_INFRAME:String = "inframe";
		public static const GRAPHICS_GADGET:String = "gadget";
		
		public static const FRAMES_SIDES_ONLY:String = "sidesonly";
		public static const FRAMES_CORNERS_ONLY:String = "cornersonly";
		public static const FRAMES_SIDES_BETWEEN_CORNERS:String = "sidesbetween"
		public static const FRAMES_CORNERS_ON_TOP:String = "cornerstop";
		
		public static const STATE_UP:String = "up";
		public static const STATE_OVER:String = "over";
		public static const STATE_DOWN:String = "down";
		public static const STATE_DOWNOVER:String = "downover";
		public static const STATE_OUT:String = "out";
		
		public static const statesArray:Array = new Array( "up", "over", "down", "downover", "out" );
		
		public static function stateIndex(state:String):int {
			return statesArray.indexOf(state);
		}
		
	}

}